package edu.hwadee.entity;

import java.util.Date;

/**
 * Logisticsdemand entity. @author MyEclipse Persistence Tools
 */

public class Logisticsdemand implements java.io.Serializable {

	// Fields

	private Integer logisticsDemand;
	private Area areaByEndplace;
	private Company companyByReceiveCompany;
	private Area areaByStartplace;
	private Company companyByCarrier;
	private Company companyBySendCompany;
	private String goodsName;
	private String unit;
	private Integer quantity;
	private Date sendDate;
	private Date dueDate;
	private Short demandState;

	// Constructors

	/** default constructor */
	public Logisticsdemand() {
	}

	/** full constructor */
	public Logisticsdemand(Area areaByEndplace, Company companyByReceiveCompany, Area areaByStartplace,
			Company companyByCarrier, Company companyBySendCompany, String goodsName, String unit, Integer quantity,
			Date sendDate, Date dueDate, Short demandState) {
		this.areaByEndplace = areaByEndplace;
		this.companyByReceiveCompany = companyByReceiveCompany;
		this.areaByStartplace = areaByStartplace;
		this.companyByCarrier = companyByCarrier;
		this.companyBySendCompany = companyBySendCompany;
		this.goodsName = goodsName;
		this.unit = unit;
		this.quantity = quantity;
		this.sendDate = sendDate;
		this.dueDate = dueDate;
		this.demandState = demandState;
	}

	// Property accessors

	public Integer getLogisticsDemand() {
		return this.logisticsDemand;
	}

	public void setLogisticsDemand(Integer logisticsDemand) {
		this.logisticsDemand = logisticsDemand;
	}

	public Area getAreaByEndplace() {
		return this.areaByEndplace;
	}

	public void setAreaByEndplace(Area areaByEndplace) {
		this.areaByEndplace = areaByEndplace;
	}

	public Company getCompanyByReceiveCompany() {
		return this.companyByReceiveCompany;
	}

	public void setCompanyByReceiveCompany(Company companyByReceiveCompany) {
		this.companyByReceiveCompany = companyByReceiveCompany;
	}

	public Area getAreaByStartplace() {
		return this.areaByStartplace;
	}

	public void setAreaByStartplace(Area areaByStartplace) {
		this.areaByStartplace = areaByStartplace;
	}

	public Company getCompanyByCarrier() {
		return this.companyByCarrier;
	}

	public void setCompanyByCarrier(Company companyByCarrier) {
		this.companyByCarrier = companyByCarrier;
	}

	public Company getCompanyBySendCompany() {
		return this.companyBySendCompany;
	}

	public void setCompanyBySendCompany(Company companyBySendCompany) {
		this.companyBySendCompany = companyBySendCompany;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Date getSendDate() {
		return this.sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Date getDueDate() {
		return this.dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	public Short getDemandState() {
		return this.demandState;
	}

	public void setDemandState(Short demandState) {
		this.demandState = demandState;
	}

}